package com.novax.ex.activity.infrastructure.mapper;

import com.novax.ex.activity.infrastructure.entity.TaskLanguage;
import com.novax.ex.activity.infrastructure.entity.TaskTitle;
import com.novax.ex.activity.infrastructure.entity.TaskTitleLanguage;
import com.novax.ex.common.base.BaseMapper;

import java.util.List;

/**
 * @author Hsylient
 * @description 针对表【task_title(标题简介配置表（表中的数据是固定的不动）)】的数据库操作Mapper
 * @createDate 2023-06-21 10:11:54
 * @Entity com.novax.ex.activity.infrastructure.entity.TaskTitle
 */
public interface TaskTitleMapper extends BaseMapper {

    /**
     * 根据语种信息查询任务标题
     *
     * @param language 语种
     * @return 任务标题
     */
    List<TaskTitleLanguage> selectTaskTitleByLanguage(String language);

    /**
     * @Description: 查询所有标题
     * @Author: ChenXi
     * @Date:  2023/6/25 10:54
     * @param
     * @return: java.util.List<com.novax.ex.activity.infrastructure.entity.TaskTitle>
     **/
    List<TaskTitle> queryAll();


}
